package com.farecrawler.app.airlines;

import java.util.HashMap;
import java.util.Map;

public class JetstarUtils {
	
	/**
	 * Request parameters
	 */
	public static final String URL = "http://www.jetstar.com/sg/en/index.aspx";
	public static  Map<String, String> requestParams = new HashMap<String, String>();
	
	static {
		requestParams.put("travel1", "2");
		requestParams.put("from1","SIN");
		requestParams.put("to1","TPE");
		requestParams.put("departDay1","11");
		requestParams.put("departDay2","14");
		requestParams.put("ADULT","1");
		requestParams.put("CHILD", "0");
		requestParams.put("INFANT","0");
		requestParams.put("go","");
		requestParams.put("WCHR","0");
		requestParams.put("SDOG","0");
		requestParams.put("numberMarkets","2");
		requestParams.put("page","SELECT");
		requestParams.put("travel","2");
		requestParams.put("from2","TPE");
		requestParams.put("to2","SIN");
		requestParams.put("mode","GO3K");
		requestParams.put("language","EN");
		requestParams.put("departMonth1","201009");
		requestParams.put("departMonth2","201009");
		requestParams.put("depart1FlexBy","0101");
		requestParams.put("depart2FlexBy","0101");
		requestParams.put("currency","");
		requestParams.put("carrier","3K");
		requestParams.put("pageToken","sLkmnwXwAsY=");
		requestParams.put("culture", "en-CA");
		requestParams.put("_VIEWSTATE", "/wEPDwUBMGRkvmXBMG98jV78kV7CsjkqCpGLtrY=");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$RadioButtonMarketStructure", "RoundTrip");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketOrigin1", "SIN");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketDay1", "11");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketMonth1", "2010-09");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketDestination1", "TPE");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketOrigin2", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketDay2", "14");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketMonth2", "2010-09");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketDestination2", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketOrigin3", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketDay3", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListMarketMonth3", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$TextBoxMarketDestination3", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListPassengerType_ADT", "1");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListPassengerType_CHD", "0");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListPassengerType_INFANT", "0");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListCurrency", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$DropDownListFareTypes", "I");
		requestParams.put("ControlGroupSearchView$ButtonSubmit", "");
		requestParams.put("date_picker", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$CheckBoxUseMacOrigin1", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$CheckBoxUseMacDestination1", "");
		requestParams.put("ControlGroupSearchView$AvailabilitySearchInputSearchView$fromCS", "yes");
	}

}
